<template lang="">
  <div>{{ number }}</div>
  <button @click="addNumber">+1</button>
</template>

<script setup>
import { ref } from 'vue'
let number = ref(0)
const addNumber = () => {
  number.value++
}
</script>

<style lang="">
</style>